package cn.com.oil;

import cn.com.oil.common.util.FxManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class OilApplication {


    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(OilApplication.class, args);
        FxManager fxManager = (FxManager) run.getBean("fxManager");
        // 启动fx
        fxManager.init();
    }

}
